﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    public sealed class GetOADocRequest : ILJTokenRequest<GetOADocResponse>
    {
        /// <summary>
        /// 会话ID
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 最近处理时间 空-获取最新10条，刷新-获取指定时间以后的10条，加载更多-获取指定时间之前的10条
        /// </summary>
        public string lastTime { get; set; }
        public int lastID { get; set; }
        /// <summary>
        /// 向上-刷新、向下-加载更多
        /// </summary>
        public bool ifGoUp { get; set; }
        /// <summary>
        /// 查找类型:0-我的待办,1-我的发起,2-收件箱,3-草稿
        /// </summary>
        public int rowType { get; set; }

        public string GetApiName()
        {
            return "GetOADoc";
        }
    }

    public sealed class GetOADocResponse : LJResponse
    {
        public List<OADoc> docs{get ;set ;}
    }
}